  /**
   * Generate time : 2012-10-16 3:15:58
   * Version : 1.0.1.V20070717
   */
package com.baosight.sczx.zp.domain;

import com.baosight.iplat4j.util.NumberUtils;
import com.baosight.iplat4j.core.ei.EiColumn;
import com.baosight.iplat4j.ep.DaoEPBase;
import java.util.HashMap;
import java.util.Map;
import com.baosight.iplat4j.util.StringUtils;
/**
 * ZPUser 
 *  
 */
public class ZPUser extends DaoEPBase {

	private String name = " ";		
	private String displayName = " ";		
	private String codedPassword = " ";		
	private String descInfo = " ";		
	private String lastName = " ";		
	private String firstName = " ";		
	private String middleName = " ";		
	private String nickName = " ";		
	private String title = " ";		
	private String initials = " ";		
	private String fullName = " ";		
	private String prof = " ";		
	private String position = " ";		
	private String dept = " ";		
	private String account = " ";		
	private String idNumber = " ";		
	private String workNumber = " ";		
	private String gender = " ";		
	private String birthday = " ";		
	private String country = " ";		
	private String province = " ";		
	private String city = " ";		
	private String street = " ";		
	private String addr = " ";		
	private String homeAddr = " ";		
	private String officeAddr = " ";		
	private String businessAddr = " ";		
	private String otherAddr = " ";		
	private String postalCode = " ";		
	private String postBox = " ";		
	private String webSite = " ";		
	private String email = " ";		
	private String im = " ";		
	private String domain = " ";		
	private String mainPhone = " ";		
	private String homePhone = " ";		
	private String mobilePhone = " ";		
	private String officePhone = " ";		
	private String businessPhone = " ";		
	private String otherPhone = " ";		
	private String fax = " ";		
	private String userType = " ";		
	private String userCode = " ";		
	private String orgCode = " ";		
	private String createDate = " ";		
	private String expireDate = " ";		
	private String pwdExpireDate = " ";		
	private String propertyUpdateDate = " ";		
	private String pwdUpdateDate = " ";		
	private String lastLoginDate = " ";		
	private String errorLoginDate = " ";		
	private Long valid = new Long(0);	
	private Long sortIndex = new Long(0);	
	private String attribute = " ";		
	private String property = " ";		
	private String ext1 = " ";		
	private String ext2 = " ";		
	private String ext3 = " ";		

	/**
	 * initialize the metadata 
	 */
	public void initMetaData() {
		EiColumn eiColumn;
		
	eiColumn = new EiColumn("name");
	eiColumn.setPrimaryKey(true);
	eiColumn.setFieldLength(256);	
	eiColumn.setDescName(" ");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("displayName");
	eiColumn.setFieldLength(256);	
	eiColumn.setDescName(" ");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("codedPassword");
	eiColumn.setFieldLength(256);	
	eiColumn.setDescName(" ");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("descInfo");
	eiColumn.setFieldLength(256);	
	eiColumn.setDescName(" ");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("lastName");
	eiColumn.setFieldLength(256);	
	eiColumn.setDescName(" ");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("firstName");
	eiColumn.setFieldLength(256);	
	eiColumn.setDescName(" ");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("middleName");
	eiColumn.setFieldLength(256);	
	eiColumn.setDescName(" ");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("nickName");
	eiColumn.setFieldLength(256);	
	eiColumn.setDescName(" ");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("title");
	eiColumn.setFieldLength(256);	
	eiColumn.setDescName(" ");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("initials");
	eiColumn.setFieldLength(256);	
	eiColumn.setDescName(" ");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fullName");
	eiColumn.setFieldLength(256);	
	eiColumn.setDescName(" ");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("prof");
	eiColumn.setFieldLength(256);	
	eiColumn.setDescName(" ");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("position");
	eiColumn.setFieldLength(256);	
	eiColumn.setDescName(" ");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("dept");
	eiColumn.setFieldLength(100);	
	eiColumn.setDescName(" ");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("account");
	eiColumn.setFieldLength(256);	
	eiColumn.setDescName(" ");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("idNumber");
	eiColumn.setFieldLength(256);	
	eiColumn.setDescName(" ");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("workNumber");
	eiColumn.setFieldLength(256);	
	eiColumn.setDescName(" ");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("gender");
	eiColumn.setFieldLength(2);	
	eiColumn.setDescName(" ");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("birthday");
	eiColumn.setFieldLength(256);	
	eiColumn.setDescName(" ");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("country");
	eiColumn.setFieldLength(256);	
	eiColumn.setDescName(" ");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("province");
	eiColumn.setFieldLength(256);	
	eiColumn.setDescName(" ");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("city");
	eiColumn.setFieldLength(256);	
	eiColumn.setDescName(" ");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("street");
	eiColumn.setFieldLength(256);	
	eiColumn.setDescName(" ");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("addr");
	eiColumn.setFieldLength(200);	
	eiColumn.setDescName(" ");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("homeAddr");
	eiColumn.setFieldLength(256);	
	eiColumn.setDescName(" ");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("officeAddr");
	eiColumn.setFieldLength(256);	
	eiColumn.setDescName(" ");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("businessAddr");
	eiColumn.setFieldLength(256);	
	eiColumn.setDescName(" ");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("otherAddr");
	eiColumn.setFieldLength(256);	
	eiColumn.setDescName(" ");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("postalCode");
	eiColumn.setFieldLength(256);	
	eiColumn.setDescName(" ");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("postBox");
	eiColumn.setFieldLength(256);	
	eiColumn.setDescName(" ");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("webSite");
	eiColumn.setFieldLength(256);	
	eiColumn.setDescName(" ");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("email");
	eiColumn.setFieldLength(256);	
	eiColumn.setDescName(" ");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("im");
	eiColumn.setFieldLength(256);	
	eiColumn.setDescName(" ");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("domain");
	eiColumn.setFieldLength(256);	
	eiColumn.setDescName(" ");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("mainPhone");
	eiColumn.setFieldLength(256);	
	eiColumn.setDescName(" ");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("homePhone");
	eiColumn.setFieldLength(256);	
	eiColumn.setDescName(" ");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("mobilePhone");
	eiColumn.setFieldLength(256);	
	eiColumn.setDescName(" ");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("officePhone");
	eiColumn.setFieldLength(256);	
	eiColumn.setDescName(" ");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("businessPhone");
	eiColumn.setFieldLength(256);	
	eiColumn.setDescName(" ");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("otherPhone");
	eiColumn.setFieldLength(256);	
	eiColumn.setDescName(" ");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fax");
	eiColumn.setFieldLength(256);	
	eiColumn.setDescName(" ");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("userType");
	eiColumn.setFieldLength(256);	
	eiColumn.setDescName(" ");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("userCode");
	eiColumn.setFieldLength(16);	
	eiColumn.setDescName(" ");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("orgCode");
	eiColumn.setFieldLength(16);	
	eiColumn.setDescName(" ");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("createDate");
	eiColumn.setFieldLength(32);	
	eiColumn.setDescName(" ");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("expireDate");
	eiColumn.setFieldLength(32);	
	eiColumn.setDescName(" ");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("pwdExpireDate");
	eiColumn.setFieldLength(32);	
	eiColumn.setDescName(" ");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("propertyUpdateDate");
	eiColumn.setFieldLength(32);	
	eiColumn.setDescName(" ");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("pwdUpdateDate");
	eiColumn.setFieldLength(32);	
	eiColumn.setDescName(" ");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("lastLoginDate");
	eiColumn.setFieldLength(32);	
	eiColumn.setDescName(" ");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("errorLoginDate");
	eiColumn.setFieldLength(32);	
	eiColumn.setDescName(" ");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("valid");
	eiColumn.setType("C");
	eiColumn.setScaleLength(0);
	eiColumn.setFieldLength(38);
	eiColumn.setDescName(" ");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("sortIndex");
	eiColumn.setType("N");
	eiColumn.setScaleLength(0);
	eiColumn.setFieldLength(38);
	eiColumn.setDescName(" ");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("attribute");
	eiColumn.setFieldLength(256);	
	eiColumn.setDescName(" ");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("property");
	eiColumn.setFieldLength(256);	
	eiColumn.setDescName(" ");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("ext1");
	eiColumn.setFieldLength(256);	
	eiColumn.setDescName(" ");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("ext2");
	eiColumn.setFieldLength(256);	
	eiColumn.setDescName(" ");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("ext3");
	eiColumn.setFieldLength(256);	
	eiColumn.setDescName(" ");
	eiMetadata.addMeta(eiColumn);
	

	}
	/**
	 * the constructor
	 */
	public ZPUser() {
		initMetaData();
	}
	
	/**
	 * get the name 
	 * @return the name
	 */
	public String getName() {
		return this.name;
	}
	
	/**
	 * set the name 
	 */
	public void setName(String name) {
		this.name = name;
	}
	
	/**
	 * get the displayName 
	 * @return the displayName
	 */
	public String getDisplayName() {
		return this.displayName;
	}
	
	/**
	 * set the displayName 
	 */
	public void setDisplayName(String displayName) {
		this.displayName = displayName;
	}
	
	/**
	 * get the codedPassword 
	 * @return the codedPassword
	 */
	public String getCodedPassword() {
		return this.codedPassword;
	}
	
	/**
	 * set the codedPassword 
	 */
	public void setCodedPassword(String codedPassword) {
		this.codedPassword = codedPassword;
	}
	
	/**
	 * get the descInfo 
	 * @return the descInfo
	 */
	public String getDescInfo() {
		return this.descInfo;
	}
	
	/**
	 * set the descInfo 
	 */
	public void setDescInfo(String descInfo) {
		this.descInfo = descInfo;
	}
	
	/**
	 * get the lastName 
	 * @return the lastName
	 */
	public String getLastName() {
		return this.lastName;
	}
	
	/**
	 * set the lastName 
	 */
	public void setLastName(String lastName) {
		this.lastName = lastName;
	}
	
	/**
	 * get the firstName 
	 * @return the firstName
	 */
	public String getFirstName() {
		return this.firstName;
	}
	
	/**
	 * set the firstName 
	 */
	public void setFirstName(String firstName) {
		this.firstName = firstName;
	}
	
	/**
	 * get the middleName 
	 * @return the middleName
	 */
	public String getMiddleName() {
		return this.middleName;
	}
	
	/**
	 * set the middleName 
	 */
	public void setMiddleName(String middleName) {
		this.middleName = middleName;
	}
	
	/**
	 * get the nickName 
	 * @return the nickName
	 */
	public String getNickName() {
		return this.nickName;
	}
	
	/**
	 * set the nickName 
	 */
	public void setNickName(String nickName) {
		this.nickName = nickName;
	}
	
	/**
	 * get the title 
	 * @return the title
	 */
	public String getTitle() {
		return this.title;
	}
	
	/**
	 * set the title 
	 */
	public void setTitle(String title) {
		this.title = title;
	}
	
	/**
	 * get the initials 
	 * @return the initials
	 */
	public String getInitials() {
		return this.initials;
	}
	
	/**
	 * set the initials 
	 */
	public void setInitials(String initials) {
		this.initials = initials;
	}
	
	/**
	 * get the fullName 
	 * @return the fullName
	 */
	public String getFullName() {
		return this.fullName;
	}
	
	/**
	 * set the fullName 
	 */
	public void setFullName(String fullName) {
		this.fullName = fullName;
	}
	
	/**
	 * get the prof 
	 * @return the prof
	 */
	public String getProf() {
		return this.prof;
	}
	
	/**
	 * set the prof 
	 */
	public void setProf(String prof) {
		this.prof = prof;
	}
	
	/**
	 * get the position 
	 * @return the position
	 */
	public String getPosition() {
		return this.position;
	}
	
	/**
	 * set the position 
	 */
	public void setPosition(String position) {
		this.position = position;
	}
	
	/**
	 * get the dept 
	 * @return the dept
	 */
	public String getDept() {
		return this.dept;
	}
	
	/**
	 * set the dept 
	 */
	public void setDept(String dept) {
		this.dept = dept;
	}
	
	/**
	 * get the account 
	 * @return the account
	 */
	public String getAccount() {
		return this.account;
	}
	
	/**
	 * set the account 
	 */
	public void setAccount(String account) {
		this.account = account;
	}
	
	/**
	 * get the idNumber 
	 * @return the idNumber
	 */
	public String getIdNumber() {
		return this.idNumber;
	}
	
	/**
	 * set the idNumber 
	 */
	public void setIdNumber(String idNumber) {
		this.idNumber = idNumber;
	}
	
	/**
	 * get the workNumber 
	 * @return the workNumber
	 */
	public String getWorkNumber() {
		return this.workNumber;
	}
	
	/**
	 * set the workNumber 
	 */
	public void setWorkNumber(String workNumber) {
		this.workNumber = workNumber;
	}
	
	/**
	 * get the gender 
	 * @return the gender
	 */
	public String getGender() {
		return this.gender;
	}
	
	/**
	 * set the gender 
	 */
	public void setGender(String gender) {
		this.gender = gender;
	}
	
	/**
	 * get the birthday 
	 * @return the birthday
	 */
	public String getBirthday() {
		return this.birthday;
	}
	
	/**
	 * set the birthday 
	 */
	public void setBirthday(String birthday) {
		this.birthday = birthday;
	}
	
	/**
	 * get the country 
	 * @return the country
	 */
	public String getCountry() {
		return this.country;
	}
	
	/**
	 * set the country 
	 */
	public void setCountry(String country) {
		this.country = country;
	}
	
	/**
	 * get the province 
	 * @return the province
	 */
	public String getProvince() {
		return this.province;
	}
	
	/**
	 * set the province 
	 */
	public void setProvince(String province) {
		this.province = province;
	}
	
	/**
	 * get the city 
	 * @return the city
	 */
	public String getCity() {
		return this.city;
	}
	
	/**
	 * set the city 
	 */
	public void setCity(String city) {
		this.city = city;
	}
	
	/**
	 * get the street 
	 * @return the street
	 */
	public String getStreet() {
		return this.street;
	}
	
	/**
	 * set the street 
	 */
	public void setStreet(String street) {
		this.street = street;
	}
	
	/**
	 * get the addr 
	 * @return the addr
	 */
	public String getAddr() {
		return this.addr;
	}
	
	/**
	 * set the addr 
	 */
	public void setAddr(String addr) {
		this.addr = addr;
	}
	
	/**
	 * get the homeAddr 
	 * @return the homeAddr
	 */
	public String getHomeAddr() {
		return this.homeAddr;
	}
	
	/**
	 * set the homeAddr 
	 */
	public void setHomeAddr(String homeAddr) {
		this.homeAddr = homeAddr;
	}
	
	/**
	 * get the officeAddr 
	 * @return the officeAddr
	 */
	public String getOfficeAddr() {
		return this.officeAddr;
	}
	
	/**
	 * set the officeAddr 
	 */
	public void setOfficeAddr(String officeAddr) {
		this.officeAddr = officeAddr;
	}
	
	/**
	 * get the businessAddr 
	 * @return the businessAddr
	 */
	public String getBusinessAddr() {
		return this.businessAddr;
	}
	
	/**
	 * set the businessAddr 
	 */
	public void setBusinessAddr(String businessAddr) {
		this.businessAddr = businessAddr;
	}
	
	/**
	 * get the otherAddr 
	 * @return the otherAddr
	 */
	public String getOtherAddr() {
		return this.otherAddr;
	}
	
	/**
	 * set the otherAddr 
	 */
	public void setOtherAddr(String otherAddr) {
		this.otherAddr = otherAddr;
	}
	
	/**
	 * get the postalCode 
	 * @return the postalCode
	 */
	public String getPostalCode() {
		return this.postalCode;
	}
	
	/**
	 * set the postalCode 
	 */
	public void setPostalCode(String postalCode) {
		this.postalCode = postalCode;
	}
	
	/**
	 * get the postBox 
	 * @return the postBox
	 */
	public String getPostBox() {
		return this.postBox;
	}
	
	/**
	 * set the postBox 
	 */
	public void setPostBox(String postBox) {
		this.postBox = postBox;
	}
	
	/**
	 * get the webSite 
	 * @return the webSite
	 */
	public String getWebSite() {
		return this.webSite;
	}
	
	/**
	 * set the webSite 
	 */
	public void setWebSite(String webSite) {
		this.webSite = webSite;
	}
	
	/**
	 * get the email 
	 * @return the email
	 */
	public String getEmail() {
		return this.email;
	}
	
	/**
	 * set the email 
	 */
	public void setEmail(String email) {
		this.email = email;
	}
	
	/**
	 * get the im 
	 * @return the im
	 */
	public String getIm() {
		return this.im;
	}
	
	/**
	 * set the im 
	 */
	public void setIm(String im) {
		this.im = im;
	}
	
	/**
	 * get the domain 
	 * @return the domain
	 */
	public String getDomain() {
		return this.domain;
	}
	
	/**
	 * set the domain 
	 */
	public void setDomain(String domain) {
		this.domain = domain;
	}
	
	/**
	 * get the mainPhone 
	 * @return the mainPhone
	 */
	public String getMainPhone() {
		return this.mainPhone;
	}
	
	/**
	 * set the mainPhone 
	 */
	public void setMainPhone(String mainPhone) {
		this.mainPhone = mainPhone;
	}
	
	/**
	 * get the homePhone 
	 * @return the homePhone
	 */
	public String getHomePhone() {
		return this.homePhone;
	}
	
	/**
	 * set the homePhone 
	 */
	public void setHomePhone(String homePhone) {
		this.homePhone = homePhone;
	}
	
	/**
	 * get the mobilePhone 
	 * @return the mobilePhone
	 */
	public String getMobilePhone() {
		return this.mobilePhone;
	}
	
	/**
	 * set the mobilePhone 
	 */
	public void setMobilePhone(String mobilePhone) {
		this.mobilePhone = mobilePhone;
	}
	
	/**
	 * get the officePhone 
	 * @return the officePhone
	 */
	public String getOfficePhone() {
		return this.officePhone;
	}
	
	/**
	 * set the officePhone 
	 */
	public void setOfficePhone(String officePhone) {
		this.officePhone = officePhone;
	}
	
	/**
	 * get the businessPhone 
	 * @return the businessPhone
	 */
	public String getBusinessPhone() {
		return this.businessPhone;
	}
	
	/**
	 * set the businessPhone 
	 */
	public void setBusinessPhone(String businessPhone) {
		this.businessPhone = businessPhone;
	}
	
	/**
	 * get the otherPhone 
	 * @return the otherPhone
	 */
	public String getOtherPhone() {
		return this.otherPhone;
	}
	
	/**
	 * set the otherPhone 
	 */
	public void setOtherPhone(String otherPhone) {
		this.otherPhone = otherPhone;
	}
	
	/**
	 * get the fax 
	 * @return the fax
	 */
	public String getFax() {
		return this.fax;
	}
	
	/**
	 * set the fax 
	 */
	public void setFax(String fax) {
		this.fax = fax;
	}
	
	/**
	 * get the userType 
	 * @return the userType
	 */
	public String getUserType() {
		return this.userType;
	}
	
	/**
	 * set the userType 
	 */
	public void setUserType(String userType) {
		this.userType = userType;
	}
	
	/**
	 * get the userCode 
	 * @return the userCode
	 */
	public String getUserCode() {
		return this.userCode;
	}
	
	/**
	 * set the userCode 
	 */
	public void setUserCode(String userCode) {
		this.userCode = userCode;
	}
	
	/**
	 * get the orgCode 
	 * @return the orgCode
	 */
	public String getOrgCode() {
		return this.orgCode;
	}
	
	/**
	 * set the orgCode 
	 */
	public void setOrgCode(String orgCode) {
		this.orgCode = orgCode;
	}
	
	/**
	 * get the createDate 
	 * @return the createDate
	 */
	public String getCreateDate() {
		return this.createDate;
	}
	
	/**
	 * set the createDate 
	 */
	public void setCreateDate(String createDate) {
		this.createDate = createDate;
	}
	
	/**
	 * get the expireDate 
	 * @return the expireDate
	 */
	public String getExpireDate() {
		return this.expireDate;
	}
	
	/**
	 * set the expireDate 
	 */
	public void setExpireDate(String expireDate) {
		this.expireDate = expireDate;
	}
	
	/**
	 * get the pwdExpireDate 
	 * @return the pwdExpireDate
	 */
	public String getPwdExpireDate() {
		return this.pwdExpireDate;
	}
	
	/**
	 * set the pwdExpireDate 
	 */
	public void setPwdExpireDate(String pwdExpireDate) {
		this.pwdExpireDate = pwdExpireDate;
	}
	
	/**
	 * get the propertyUpdateDate 
	 * @return the propertyUpdateDate
	 */
	public String getPropertyUpdateDate() {
		return this.propertyUpdateDate;
	}
	
	/**
	 * set the propertyUpdateDate 
	 */
	public void setPropertyUpdateDate(String propertyUpdateDate) {
		this.propertyUpdateDate = propertyUpdateDate;
	}
	
	/**
	 * get the pwdUpdateDate 
	 * @return the pwdUpdateDate
	 */
	public String getPwdUpdateDate() {
		return this.pwdUpdateDate;
	}
	
	/**
	 * set the pwdUpdateDate 
	 */
	public void setPwdUpdateDate(String pwdUpdateDate) {
		this.pwdUpdateDate = pwdUpdateDate;
	}
	
	/**
	 * get the lastLoginDate 
	 * @return the lastLoginDate
	 */
	public String getLastLoginDate() {
		return this.lastLoginDate;
	}
	
	/**
	 * set the lastLoginDate 
	 */
	public void setLastLoginDate(String lastLoginDate) {
		this.lastLoginDate = lastLoginDate;
	}
	
	/**
	 * get the errorLoginDate 
	 * @return the errorLoginDate
	 */
	public String getErrorLoginDate() {
		return this.errorLoginDate;
	}
	
	/**
	 * set the errorLoginDate 
	 */
	public void setErrorLoginDate(String errorLoginDate) {
		this.errorLoginDate = errorLoginDate;
	}
	
	/**
	 * get the valid 
	 * @return the valid
	 */
	public Long getValid() {
		return this.valid;
	}
	
	/**
	 * set the valid 
	 */
	public void setValid(Long valid) {
		this.valid = valid;
	}
	
	/**
	 * get the sortIndex 
	 * @return the sortIndex
	 */
	public Long getSortIndex() {
		return this.sortIndex;
	}
	
	/**
	 * set the sortIndex 
	 */
	public void setSortIndex(Long sortIndex) {
		this.sortIndex = sortIndex;
	}
	
	/**
	 * get the attribute 
	 * @return the attribute
	 */
	public String getAttribute() {
		return this.attribute;
	}
	
	/**
	 * set the attribute 
	 */
	public void setAttribute(String attribute) {
		this.attribute = attribute;
	}
	
	/**
	 * get the property 
	 * @return the property
	 */
	public String getProperty() {
		return this.property;
	}
	
	/**
	 * set the property 
	 */
	public void setProperty(String property) {
		this.property = property;
	}
	
	/**
	 * get the ext1 
	 * @return the ext1
	 */
	public String getExt1() {
		return this.ext1;
	}
	
	/**
	 * set the ext1 
	 */
	public void setExt1(String ext1) {
		this.ext1 = ext1;
	}
	
	/**
	 * get the ext2 
	 * @return the ext2
	 */
	public String getExt2() {
		return this.ext2;
	}
	
	/**
	 * set the ext2 
	 */
	public void setExt2(String ext2) {
		this.ext2 = ext2;
	}
	
	/**
	 * get the ext3 
	 * @return the ext3
	 */
	public String getExt3() {
		return this.ext3;
	}
	
	/**
	 * set the ext3 
	 */
	public void setExt3(String ext3) {
		this.ext3 = ext3;
	}
	
	/**
	 * get the value from Map
	 */
	public void fromMap(Map map) {
	
		setName(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("name")), name));
		setDisplayName(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("displayName")), displayName));
		setCodedPassword(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("codedPassword")), codedPassword));
		setDescInfo(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("descInfo")), descInfo));
		setLastName(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("lastName")), lastName));
		setFirstName(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("firstName")), firstName));
		setMiddleName(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("middleName")), middleName));
		setNickName(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("nickName")), nickName));
		setTitle(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("title")), title));
		setInitials(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("initials")), initials));
		setFullName(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fullName")), fullName));
		setProf(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("prof")), prof));
		setPosition(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("position")), position));
		setDept(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("dept")), dept));
		setAccount(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("account")), account));
		setIdNumber(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("idNumber")), idNumber));
		setWorkNumber(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("workNumber")), workNumber));
		setGender(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("gender")), gender));
		setBirthday(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("birthday")), birthday));
		setCountry(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("country")), country));
		setProvince(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("province")), province));
		setCity(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("city")), city));
		setStreet(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("street")), street));
		setAddr(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("addr")), addr));
		setHomeAddr(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("homeAddr")), homeAddr));
		setOfficeAddr(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("officeAddr")), officeAddr));
		setBusinessAddr(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("businessAddr")), businessAddr));
		setOtherAddr(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("otherAddr")), otherAddr));
		setPostalCode(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("postalCode")), postalCode));
		setPostBox(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("postBox")), postBox));
		setWebSite(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("webSite")), webSite));
		setEmail(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("email")), email));
		setIm(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("im")), im));
		setDomain(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("domain")), domain));
		setMainPhone(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("mainPhone")), mainPhone));
		setHomePhone(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("homePhone")), homePhone));
		setMobilePhone(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("mobilePhone")), mobilePhone));
		setOfficePhone(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("officePhone")), officePhone));
		setBusinessPhone(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("businessPhone")), businessPhone));
		setOtherPhone(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("otherPhone")), otherPhone));
		setFax(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fax")), fax));
		setUserType(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("userType")), userType));
		setUserCode(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("userCode")), userCode));
		setOrgCode(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("orgCode")), orgCode));
		setCreateDate(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("createDate")), createDate));
		setExpireDate(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("expireDate")), expireDate));
		setPwdExpireDate(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("pwdExpireDate")), pwdExpireDate));
		setPropertyUpdateDate(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("propertyUpdateDate")), propertyUpdateDate));
		setPwdUpdateDate(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("pwdUpdateDate")), pwdUpdateDate));
		setLastLoginDate(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("lastLoginDate")), lastLoginDate));
		setErrorLoginDate(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("errorLoginDate")), errorLoginDate));
		setValid(NumberUtils.toLong(StringUtils.toString(map.get("valid")), valid));
		setSortIndex(NumberUtils.toLong(StringUtils.toString(map.get("sortIndex")), sortIndex));
		setAttribute(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("attribute")), attribute));
		setProperty(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("property")), property));
		setExt1(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("ext1")), ext1));
		setExt2(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("ext2")), ext2));
		setExt3(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("ext3")), ext3));
	}
	
	/**
	 * set the value to Map
	 */
	public Map toMap() {
		
		Map map = new HashMap();
			map.put("name",StringUtils.toString(name, eiMetadata.getMeta("name")));	
			map.put("displayName",StringUtils.toString(displayName, eiMetadata.getMeta("displayName")));	
			map.put("codedPassword",StringUtils.toString(codedPassword, eiMetadata.getMeta("codedPassword")));	
			map.put("descInfo",StringUtils.toString(descInfo, eiMetadata.getMeta("descInfo")));	
			map.put("lastName",StringUtils.toString(lastName, eiMetadata.getMeta("lastName")));	
			map.put("firstName",StringUtils.toString(firstName, eiMetadata.getMeta("firstName")));	
			map.put("middleName",StringUtils.toString(middleName, eiMetadata.getMeta("middleName")));	
			map.put("nickName",StringUtils.toString(nickName, eiMetadata.getMeta("nickName")));	
			map.put("title",StringUtils.toString(title, eiMetadata.getMeta("title")));	
			map.put("initials",StringUtils.toString(initials, eiMetadata.getMeta("initials")));	
			map.put("fullName",StringUtils.toString(fullName, eiMetadata.getMeta("fullName")));	
			map.put("prof",StringUtils.toString(prof, eiMetadata.getMeta("prof")));	
			map.put("position",StringUtils.toString(position, eiMetadata.getMeta("position")));	
			map.put("dept",StringUtils.toString(dept, eiMetadata.getMeta("dept")));	
			map.put("account",StringUtils.toString(account, eiMetadata.getMeta("account")));	
			map.put("idNumber",StringUtils.toString(idNumber, eiMetadata.getMeta("idNumber")));	
			map.put("workNumber",StringUtils.toString(workNumber, eiMetadata.getMeta("workNumber")));	
			map.put("gender",StringUtils.toString(gender, eiMetadata.getMeta("gender")));	
			map.put("birthday",StringUtils.toString(birthday, eiMetadata.getMeta("birthday")));	
			map.put("country",StringUtils.toString(country, eiMetadata.getMeta("country")));	
			map.put("province",StringUtils.toString(province, eiMetadata.getMeta("province")));	
			map.put("city",StringUtils.toString(city, eiMetadata.getMeta("city")));	
			map.put("street",StringUtils.toString(street, eiMetadata.getMeta("street")));	
			map.put("addr",StringUtils.toString(addr, eiMetadata.getMeta("addr")));	
			map.put("homeAddr",StringUtils.toString(homeAddr, eiMetadata.getMeta("homeAddr")));	
			map.put("officeAddr",StringUtils.toString(officeAddr, eiMetadata.getMeta("officeAddr")));	
			map.put("businessAddr",StringUtils.toString(businessAddr, eiMetadata.getMeta("businessAddr")));	
			map.put("otherAddr",StringUtils.toString(otherAddr, eiMetadata.getMeta("otherAddr")));	
			map.put("postalCode",StringUtils.toString(postalCode, eiMetadata.getMeta("postalCode")));	
			map.put("postBox",StringUtils.toString(postBox, eiMetadata.getMeta("postBox")));	
			map.put("webSite",StringUtils.toString(webSite, eiMetadata.getMeta("webSite")));	
			map.put("email",StringUtils.toString(email, eiMetadata.getMeta("email")));	
			map.put("im",StringUtils.toString(im, eiMetadata.getMeta("im")));	
			map.put("domain",StringUtils.toString(domain, eiMetadata.getMeta("domain")));	
			map.put("mainPhone",StringUtils.toString(mainPhone, eiMetadata.getMeta("mainPhone")));	
			map.put("homePhone",StringUtils.toString(homePhone, eiMetadata.getMeta("homePhone")));	
			map.put("mobilePhone",StringUtils.toString(mobilePhone, eiMetadata.getMeta("mobilePhone")));	
			map.put("officePhone",StringUtils.toString(officePhone, eiMetadata.getMeta("officePhone")));	
			map.put("businessPhone",StringUtils.toString(businessPhone, eiMetadata.getMeta("businessPhone")));	
			map.put("otherPhone",StringUtils.toString(otherPhone, eiMetadata.getMeta("otherPhone")));	
			map.put("fax",StringUtils.toString(fax, eiMetadata.getMeta("fax")));	
			map.put("userType",StringUtils.toString(userType, eiMetadata.getMeta("userType")));	
			map.put("userCode",StringUtils.toString(userCode, eiMetadata.getMeta("userCode")));	
			map.put("orgCode",StringUtils.toString(orgCode, eiMetadata.getMeta("orgCode")));	
			map.put("createDate",StringUtils.toString(createDate, eiMetadata.getMeta("createDate")));	
			map.put("expireDate",StringUtils.toString(expireDate, eiMetadata.getMeta("expireDate")));	
			map.put("pwdExpireDate",StringUtils.toString(pwdExpireDate, eiMetadata.getMeta("pwdExpireDate")));	
			map.put("propertyUpdateDate",StringUtils.toString(propertyUpdateDate, eiMetadata.getMeta("propertyUpdateDate")));	
			map.put("pwdUpdateDate",StringUtils.toString(pwdUpdateDate, eiMetadata.getMeta("pwdUpdateDate")));	
			map.put("lastLoginDate",StringUtils.toString(lastLoginDate, eiMetadata.getMeta("lastLoginDate")));	
			map.put("errorLoginDate",StringUtils.toString(errorLoginDate, eiMetadata.getMeta("errorLoginDate")));	
			map.put("valid",StringUtils.toString(valid, eiMetadata.getMeta("valid")));	
			map.put("sortIndex",StringUtils.toString(sortIndex, eiMetadata.getMeta("sortIndex")));	
			map.put("attribute",StringUtils.toString(attribute, eiMetadata.getMeta("attribute")));	
			map.put("property",StringUtils.toString(property, eiMetadata.getMeta("property")));	
			map.put("ext1",StringUtils.toString(ext1, eiMetadata.getMeta("ext1")));	
			map.put("ext2",StringUtils.toString(ext2, eiMetadata.getMeta("ext2")));	
			map.put("ext3",StringUtils.toString(ext3, eiMetadata.getMeta("ext3")));	
			
		return map;
	
	}
}